home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / tutor / dosguide.exe / HELPDOS.ZIP / PROMPT.HLP < prev    next >
Text File  |  1985-09-10  |  1KB  |  38 lines

  1. -----------------------  PROMPT - Internal DOS Command  ------------------------
  2.  
  3. PROMPT sets a new system prompt.
  4.  
  5. FORMAT:   PROMPT [prompt-text]
  6.  
  7. REMARKS:
  8.  
  9.    "prompt-text" is the new system prompt.  Entering PROMPT without giving a
  10.    prompt-text resets the system prompt to the DOS default (d> where "d" is
  11.    the default drive).
  12.  
  13.    Special strings of the form $c may be embedded in the prompt-text to include
  14.    special characters or information in the prompt.
  15.  
  16.    "c" values:
  17.  
  18.       $ = the "$" character        l = the "<" character
  19.       t = the system time          b = the "|" character
  20.       d = the system date          q = the "=" character
  21.       p = current directory and    h = backspace and erase previous character
  22.           default drive letter     e = the ESC character (left arrow)
  23.       v = DOS version number       _ = go to the beginning of a new line on
  24.       n = default drive letter         the screen
  25.       g = the ">" character
  26.  
  27. EXAMPLES:
  28.  
  29. Change the system prompt to "Ready":
  30.  
  31.       PROMPT Ready
  32.  
  33.  
  34. Change the system prompt to display the default drive and the current directory
  35. and display a > at the end of the prompt:
  36.  
  37.       PROMPT $P$G
  38.